package com.yztc.xiami_app.bean.goodsdetails;

import java.util.List;

/**
 * Created by 周旭 on 2016/11/19.
 *
 * "商品详情"的数据结构
 */

public class GoodsDetailsBean {

    /**
     * additional : 0
     * areaType : 4
     * brandCnName : les petits joueurs
     * brandEnName : les petits joueurs
     * brandId : 4159
     * brandInfo : {}
     * brandStory : []
     * carriage : 0
     * categoryId : 33
     * categoryName : 手提包
     * categoryOrgCode : _30_33_
     * cod : 0
     * downPayment : 0
     * giftServiceInfo :
     * identifyInfo : 本商品已通过寺库权威鉴定
     * inventoryInfo : {"size":0}
     * isExchange : 0
     * level : N
     * maintenanceTips : []
     * marketPrice : 0
     * parameter : []
     * presellFlag : 0
     * productCode : 15309409
     * productExtraPpropertys : [{"propertyName":"商品编号","propertyValue":"15309409"},{"propertyName":"产地","propertyValue":"意大利"},{"propertyName":"尺寸","propertyValue":"19x21x10cm"},{"propertyName":"材质","propertyValue":"真皮"},{"propertyName":"适用人群","propertyValue":"女士"}]
     * productId : 15309409
     * productName : Les Petits Joueurs/Les Petits Joueurs 女士 真皮 字母拼接 手提包 BR
     * productSpec : {"color":[{"code":"15309409","imgUrl":["94/09/15309409.jpg","94/09/15309409_2.jpg","94/09/15309409_3.jpg","94/09/15309409_4.jpg","94/09/15309409_5.jpg"],"isCurrent":1,"isCurrentGroup":1,"orgCode":"_30_33_","priority":2,"productCategoryId":33,"productid":15309409,"specname":"颜色","specvalue":"黑色"}]}
     * productType : 包袋
     * refPrice : 5551
     * referencePrice : 0
     * rmbAdditional : 1512.39
     * rmbCodPrice : 0
     * secooPrice : 5551
     * sellStatus : 1
     * showPicture : ["94/09/15309409.jpg","94/09/15309409_2.jpg","94/09/15309409_3.jpg","94/09/15309409_4.jpg","94/09/15309409_5.jpg"]
     * sizeTable :
     * sizeTableData : {"type":3}
     * sizeTableTxt : []
     * sizeTableUrl : []
     * source : 3
     * specValue : 黑色
     * status : 0
     * subTitle :
     * suitable : 0
     * upkeep : ["http://pic.secoo.com/detailImg/13/11/2053a65d07664c3ebc6bf8278b0dec6d.jpg"]
     * washingTips : []
     * detailDesc : [{"type":0,"content":"<style type=\"text/css\">* {margin: 0;padding: 0};<\/style>女士（100%真皮/100%PVC)手提包，字母拼接设计，高贵优雅，大方百搭，彰显气质"},{"type":1,"url":"http://pic7.secoo.com/product/500/500/94/09/15309409.jpg"},{"type":1,"url":"http://pic7.secoo.com/product/500/500/94/09/15309409_2.jpg"},{"type":1,"url":"http://pic7.secoo.com/product/500/500/94/09/15309409_3.jpg"},{"type":1,"url":"http://pic7.secoo.com/product/500/500/94/09/15309409_4.jpg"},{"type":1,"url":"http://pic7.secoo.com/product/500/500/94/09/15309409_5.jpg"}]
     * priceFormat : %d%欧元
     * shareurl : http://m.secoo.com/detail/15309409
     * brandicon : http://android.secoo.com/images/brandicon/4159.png
     * favourable : []
     * extraInfo : []
     * secooPriceLabel : 寺库价：
     * descriptionDelivery : 预计7-15个工作日内送达
     * isCustomizedPrd : 0
     * inventorySize : 0
     * conservationVisit : 支持售后回访服务
     */

    private RpResultBean rp_result;

    public RpResultBean getRp_result() {
        return rp_result;
    }

    public void setRp_result(RpResultBean rp_result) {
        this.rp_result = rp_result;
    }

    public static class RpResultBean {
        private int additional;
        private int areaType;
        private String brandCnName; //商品中文名
        private String brandEnName; //商品英文名
        private int brandId;
        private int carriage;
        private int categoryId;
        private String categoryName; //商品类别名称
        private String categoryOrgCode;
        private int cod;
        private int downPayment;
        private String giftServiceInfo;
        private String identifyInfo; //商品权威机构验证信息
        /**
         * size : 0
         */

        private InventoryInfoBean inventoryInfo;
        private int isExchange;
        private String level;
        private int marketPrice;
        private int presellFlag;
        private String productCode;
        private int productId; //产品ID
        private String productName; //商品名称
        private ProductSpecBean productSpec;
        private String productType;
        private int refPrice; //参考价格
        private int referencePrice;
        private double rmbAdditional;
        private int rmbCodPrice;
        private int secooPrice; //寺库价格
        private int sellStatus; //出售状态，也就是销售量
        private String sizeTable;
        /**
         * type : 3
         */

        private SizeTableDataBean sizeTableData;
        private int source;
        private String specValue;
        private int status;
        private String subTitle;
        private int suitable;
        private String priceFormat;
        private String shareurl; //分享的地址，也就是推荐等服务的WebView界面
        private String brandicon;
        private String secooPriceLabel;
        private String descriptionDelivery;
        private int isCustomizedPrd;
        private int inventorySize;
        private String conservationVisit;
        private List<?> brandStory;
        private List<?> maintenanceTips;
        private List<?> parameter;
        /**
         * propertyName : 商品编号
         * propertyValue : 15309409
         */

        private List<ProductExtraPpropertysBean> productExtraPpropertys;
        private List<String> showPicture;
        private List<?> sizeTableTxt;
        private List<?> sizeTableUrl;
        private List<String> upkeep;
        private List<?> washingTips;
        /**
         * type : 0
         * content : <style type="text/css">* {margin: 0;padding: 0};</style>女士（100%真皮/100%PVC)手提包，字母拼接设计，高贵优雅，大方百搭，彰显气质
         */

        private List<DetailDescBean> detailDesc;
        private List<?> favourable;
        private List<?> extraInfo;

        public int getAdditional() {
            return additional;
        }

        public void setAdditional(int additional) {
            this.additional = additional;
        }

        public int getAreaType() {
            return areaType;
        }

        public void setAreaType(int areaType) {
            this.areaType = areaType;
        }

        public String getBrandCnName() {
            return brandCnName;
        }

        public void setBrandCnName(String brandCnName) {
            this.brandCnName = brandCnName;
        }

        public String getBrandEnName() {
            return brandEnName;
        }

        public void setBrandEnName(String brandEnName) {
            this.brandEnName = brandEnName;
        }

        public int getBrandId() {
            return brandId;
        }

        public void setBrandId(int brandId) {
            this.brandId = brandId;
        }

        public int getCarriage() {
            return carriage;
        }

        public void setCarriage(int carriage) {
            this.carriage = carriage;
        }

        public int getCategoryId() {
            return categoryId;
        }

        public void setCategoryId(int categoryId) {
            this.categoryId = categoryId;
        }

        public String getCategoryName() {
            return categoryName;
        }

        public void setCategoryName(String categoryName) {
            this.categoryName = categoryName;
        }

        public String getCategoryOrgCode() {
            return categoryOrgCode;
        }

        public void setCategoryOrgCode(String categoryOrgCode) {
            this.categoryOrgCode = categoryOrgCode;
        }

        public int getCod() {
            return cod;
        }

        public void setCod(int cod) {
            this.cod = cod;
        }

        public int getDownPayment() {
            return downPayment;
        }

        public void setDownPayment(int downPayment) {
            this.downPayment = downPayment;
        }

        public String getGiftServiceInfo() {
            return giftServiceInfo;
        }

        public void setGiftServiceInfo(String giftServiceInfo) {
            this.giftServiceInfo = giftServiceInfo;
        }

        public String getIdentifyInfo() {
            return identifyInfo;
        }

        public void setIdentifyInfo(String identifyInfo) {
            this.identifyInfo = identifyInfo;
        }

        public InventoryInfoBean getInventoryInfo() {
            return inventoryInfo;
        }

        public void setInventoryInfo(InventoryInfoBean inventoryInfo) {
            this.inventoryInfo = inventoryInfo;
        }

        public int getIsExchange() {
            return isExchange;
        }

        public void setIsExchange(int isExchange) {
            this.isExchange = isExchange;
        }

        public String getLevel() {
            return level;
        }

        public void setLevel(String level) {
            this.level = level;
        }

        public int getMarketPrice() {
            return marketPrice;
        }

        public void setMarketPrice(int marketPrice) {
            this.marketPrice = marketPrice;
        }

        public int getPresellFlag() {
            return presellFlag;
        }

        public void setPresellFlag(int presellFlag) {
            this.presellFlag = presellFlag;
        }

        public String getProductCode() {
            return productCode;
        }

        public void setProductCode(String productCode) {
            this.productCode = productCode;
        }

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public String getProductName() {
            return productName;
        }

        public void setProductName(String productName) {
            this.productName = productName;
        }

        public ProductSpecBean getProductSpec() {
            return productSpec;
        }

        public void setProductSpec(ProductSpecBean productSpec) {
            this.productSpec = productSpec;
        }

        public String getProductType() {
            return productType;
        }

        public void setProductType(String productType) {
            this.productType = productType;
        }

        public int getRefPrice() {
            return refPrice;
        }

        public void setRefPrice(int refPrice) {
            this.refPrice = refPrice;
        }

        public int getReferencePrice() {
            return referencePrice;
        }

        public void setReferencePrice(int referencePrice) {
            this.referencePrice = referencePrice;
        }

        public double getRmbAdditional() {
            return rmbAdditional;
        }

        public void setRmbAdditional(double rmbAdditional) {
            this.rmbAdditional = rmbAdditional;
        }

        public int getRmbCodPrice() {
            return rmbCodPrice;
        }

        public void setRmbCodPrice(int rmbCodPrice) {
            this.rmbCodPrice = rmbCodPrice;
        }

        public int getSecooPrice() {
            return secooPrice;
        }

        public void setSecooPrice(int secooPrice) {
            this.secooPrice = secooPrice;
        }

        public int getSellStatus() {
            return sellStatus;
        }

        public void setSellStatus(int sellStatus) {
            this.sellStatus = sellStatus;
        }

        public String getSizeTable() {
            return sizeTable;
        }

        public void setSizeTable(String sizeTable) {
            this.sizeTable = sizeTable;
        }

        public SizeTableDataBean getSizeTableData() {
            return sizeTableData;
        }

        public void setSizeTableData(SizeTableDataBean sizeTableData) {
            this.sizeTableData = sizeTableData;
        }

        public int getSource() {
            return source;
        }

        public void setSource(int source) {
            this.source = source;
        }

        public String getSpecValue() {
            return specValue;
        }

        public void setSpecValue(String specValue) {
            this.specValue = specValue;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public String getSubTitle() {
            return subTitle;
        }

        public void setSubTitle(String subTitle) {
            this.subTitle = subTitle;
        }

        public int getSuitable() {
            return suitable;
        }

        public void setSuitable(int suitable) {
            this.suitable = suitable;
        }

        public String getPriceFormat() {
            return priceFormat;
        }

        public void setPriceFormat(String priceFormat) {
            this.priceFormat = priceFormat;
        }

        public String getShareurl() {
            return shareurl;
        }

        public void setShareurl(String shareurl) {
            this.shareurl = shareurl;
        }

        public String getBrandicon() {
            return brandicon;
        }

        public void setBrandicon(String brandicon) {
            this.brandicon = brandicon;
        }

        public String getSecooPriceLabel() {
            return secooPriceLabel;
        }

        public void setSecooPriceLabel(String secooPriceLabel) {
            this.secooPriceLabel = secooPriceLabel;
        }

        public String getDescriptionDelivery() {
            return descriptionDelivery;
        }

        public void setDescriptionDelivery(String descriptionDelivery) {
            this.descriptionDelivery = descriptionDelivery;
        }

        public int getIsCustomizedPrd() {
            return isCustomizedPrd;
        }

        public void setIsCustomizedPrd(int isCustomizedPrd) {
            this.isCustomizedPrd = isCustomizedPrd;
        }

        public int getInventorySize() {
            return inventorySize;
        }

        public void setInventorySize(int inventorySize) {
            this.inventorySize = inventorySize;
        }

        public String getConservationVisit() {
            return conservationVisit;
        }

        public void setConservationVisit(String conservationVisit) {
            this.conservationVisit = conservationVisit;
        }

        public List<?> getBrandStory() {
            return brandStory;
        }

        public void setBrandStory(List<?> brandStory) {
            this.brandStory = brandStory;
        }

        public List<?> getMaintenanceTips() {
            return maintenanceTips;
        }

        public void setMaintenanceTips(List<?> maintenanceTips) {
            this.maintenanceTips = maintenanceTips;
        }

        public List<?> getParameter() {
            return parameter;
        }

        public void setParameter(List<?> parameter) {
            this.parameter = parameter;
        }

        public List<ProductExtraPpropertysBean> getProductExtraPpropertys() {
            return productExtraPpropertys;
        }

        public void setProductExtraPpropertys(List<ProductExtraPpropertysBean> productExtraPpropertys) {
            this.productExtraPpropertys = productExtraPpropertys;
        }

        public List<String> getShowPicture() {
            return showPicture;
        }

        public void setShowPicture(List<String> showPicture) {
            this.showPicture = showPicture;
        }

        public List<?> getSizeTableTxt() {
            return sizeTableTxt;
        }

        public void setSizeTableTxt(List<?> sizeTableTxt) {
            this.sizeTableTxt = sizeTableTxt;
        }

        public List<?> getSizeTableUrl() {
            return sizeTableUrl;
        }

        public void setSizeTableUrl(List<?> sizeTableUrl) {
            this.sizeTableUrl = sizeTableUrl;
        }

        public List<String> getUpkeep() {
            return upkeep;
        }

        public void setUpkeep(List<String> upkeep) {
            this.upkeep = upkeep;
        }

        public List<?> getWashingTips() {
            return washingTips;
        }

        public void setWashingTips(List<?> washingTips) {
            this.washingTips = washingTips;
        }

        public List<DetailDescBean> getDetailDesc() {
            return detailDesc;
        }

        public void setDetailDesc(List<DetailDescBean> detailDesc) {
            this.detailDesc = detailDesc;
        }

        public List<?> getFavourable() {
            return favourable;
        }

        public void setFavourable(List<?> favourable) {
            this.favourable = favourable;
        }

        public List<?> getExtraInfo() {
            return extraInfo;
        }

        public void setExtraInfo(List<?> extraInfo) {
            this.extraInfo = extraInfo;
        }

        public static class InventoryInfoBean {
            private int size;

            public int getSize() {
                return size;
            }

            public void setSize(int size) {
                this.size = size;
            }
        }

        //产品规格
        public static class ProductSpecBean {
            /**
             * code : 15309409
             * imgUrl : ["94/09/15309409.jpg","94/09/15309409_2.jpg","94/09/15309409_3.jpg","94/09/15309409_4.jpg","94/09/15309409_5.jpg"]
             * isCurrent : 1
             * isCurrentGroup : 1
             * orgCode : _30_33_
             * priority : 2
             * productCategoryId : 33
             * productid : 15309409
             * specname : 颜色
             * specvalue : 黑色
             */

            private List<ColorBean> color;

            public List<ColorBean> getColor() {
                return color;
            }

            public void setColor(List<ColorBean> color) {
                this.color = color;
            }

            public static class ColorBean {
                private String code;
                private int isCurrent;
                private int isCurrentGroup;
                private String orgCode;
                private int priority;
                private int productCategoryId;
                private int productid;
                private String specname; //产品参数的名称
                private String specvalue; //产品参数的名称的具体的值
                private List<String> imgUrl;

                public String getCode() {
                    return code;
                }

                public void setCode(String code) {
                    this.code = code;
                }

                public int getIsCurrent() {
                    return isCurrent;
                }

                public void setIsCurrent(int isCurrent) {
                    this.isCurrent = isCurrent;
                }

                public int getIsCurrentGroup() {
                    return isCurrentGroup;
                }

                public void setIsCurrentGroup(int isCurrentGroup) {
                    this.isCurrentGroup = isCurrentGroup;
                }

                public String getOrgCode() {
                    return orgCode;
                }

                public void setOrgCode(String orgCode) {
                    this.orgCode = orgCode;
                }

                public int getPriority() {
                    return priority;
                }

                public void setPriority(int priority) {
                    this.priority = priority;
                }

                public int getProductCategoryId() {
                    return productCategoryId;
                }

                public void setProductCategoryId(int productCategoryId) {
                    this.productCategoryId = productCategoryId;
                }

                public int getProductid() {
                    return productid;
                }

                public void setProductid(int productid) {
                    this.productid = productid;
                }

                public String getSpecname() {
                    return specname;
                }

                public void setSpecname(String specname) {
                    this.specname = specname;
                }

                public String getSpecvalue() {
                    return specvalue;
                }

                public void setSpecvalue(String specvalue) {
                    this.specvalue = specvalue;
                }

                public List<String> getImgUrl() {
                    return imgUrl;
                }

                public void setImgUrl(List<String> imgUrl) {
                    this.imgUrl = imgUrl;
                }
            }
        }

        public static class SizeTableDataBean {
            private int type;

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }

        public static class ProductExtraPpropertysBean {
            private String propertyName; //商品属性的名称
            private String propertyValue; //商品属性的值

            public String getPropertyName() {
                return propertyName;
            }

            public void setPropertyName(String propertyName) {
                this.propertyName = propertyName;
            }

            public String getPropertyValue() {
                return propertyValue;
            }

            public void setPropertyValue(String propertyValue) {
                this.propertyValue = propertyValue;
            }
        }

        public static class DetailDescBean {
            private int type;
            private String content;
            private String url;

            public String getUrl() {
                return url;
            }

            public void setUrl(String url) {
                this.url = url;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }
        }
    }
}
